#pragma once
#include "BondInfo.h"
#include "BondContainer.h"

class CBondCompanyRep;
class S_BONDLIB_EXPORT QuoteMgr
{
public:
	static QuoteMgr& instance();
	bool	UpdateBondInfoByREPORT(CBondCompanyRep* pRep, REPORT* pReport, bool bVers, int bidask = 0);
	bool	UpdateBondContainerByREPORT(CBondContainer& container, REPORT* pReport, bool bAddIfNotExist, bool bVers, REPORT* pReportLast = nullptr, int bidask = 0, int local = 0);

private:
	QuoteMgr() = default;
};